<!DOCTYPE html>
<html>
  <head>
    <title>jQuery WeUI</title>
    <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>

<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
"/>

<link rel="stylesheet" th:href="@{/dist/lib/weui.min.css}" />
<link rel="stylesheet" th:href="@{/dist/css/jquery-weui.min.css}" />
<link rel="stylesheet" th:href="@{/dist/demos/css/demos.css}" />
<script type="text/javascript" th:src="@{/dist/lib/jquery-2.1.4.js}" ></script>
<script type="text/javascript" th:src="@{/dist/js/jquery-weui.js}" ></script>
<script type="text/javascript" th:src="@{/dist/lib/fastclick.js}" ></script>
<link rel="stylesheet" th:href="@{/adminltecss/userl.css}" />
<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
   <style type="text/css">
   		.cusmar{
  		margin-left: 40px;
  	}
  	.header-wai{
  		position: fixed;top:0px; height:60px;background-color: #363436;
  	}
   
   </style>
	<script type="text/javascript" th:inline="javascript">
	/*<![CDATA[*/
		/* 有问题 */
			/* $(function(){
				
				$("#sessionDemo section").each(function(index,domEle){
					
						if(index!=0){
						var path=$(domEle).find("img").attr("src");
								//alert(index)
						$("#sessionDemo section").each(function(index2,domEle2){
							if(index2>index){
								//alert(index2);
							 	var pathDemo=$(domEle2).find("img").attr("src");
							 	
								if(path==pathDemo){
									
									$(domEle2).remove();
									index=index-1;
									index2=index2-1;
									
								}
							}
								
						});	
						
						}
				});	
			});
		 */
			/*返回上一级  */
			function returnDemo(){
				window.history.back(-1); 
			}
			
		/*]]>*/
	</script>
  </head>
  <body ontouchstart>
  		<div class="weui-tabbar header-wai" style="">
  		<a href="" class="weui-tabbar__item"  id="cusdow">
          <div class="weui-tabbar__icon"></div>
          <p class="weui-tabbar__label" style="font-size: 20px; color: white; line-height: 1px;" onclick="returnDemo()">
          	<span class="fa fa-angle-left fa-2x" style="color: white; float: left;line-height: 10px;""></span>
          	项目详情<span class="fa fa-angle-down fa-2x" style="color: white;float: right; margin-right: 10px;line-height: 10px; " id="down"></span></p>
        </a>
      </div>
  
  	<div class="weui-search-bar" id="searchBar" style="margin-top:60px">
      <form class="weui-search-bar__form" action="#">
        <div class="weui-search-bar__box">
          <i class="weui-icon-search"></i>
          <input type="search" class="weui-search-bar__input" id="searchInput" placeholder="搜索" required="">
          <a href="javascript:" class="weui-icon-clear" id="searchClear"></a>
        </div>
        <label class="weui-search-bar__label" id="searchText" style="transform-origin: 0px 0px 0px; opacity: 1; transform: scale(1, 1);">
          <i class="weui-icon-search"></i>
          <span>搜索</span>
        </label>
      </form>
      <a href="javascript:" class="weui-search-bar__cancel-btn" id="searchCancel">取消</a>
    </div>
  	<div class="weui-grids">
  	<article class="weui-article">
     
      <section id="sessionDemo">
        <section>
          <p>
            <img th:src="${items.ipic}" class="p_img"/>
          </p>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>项目名称</p>
            </div>
            <div class="weui-cell__ft" th:text="${items.iname}"></div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>占地面积</p>
            </div>
            <div class="weui-cell__ft" th:text="${items.iarea}">万盛黄金城市</div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>项目热度</p>
            </div>
            <div class="weui-cell__ft" th:text="${items.iheat}">1000000</div>
          </div>
          
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>项目周边</p>
            </div>
            <div class="weui-cell__ft" th:if="${listFacility}!=null" th:each="facility:${listFacility}">
            <p text:if="${facility.rim.rfacility}!=null and ${facility.fname}!=null">&nbsp;&nbsp;&nbsp;&nbsp;<span th:text="${facility.rim.rfacility}"></span>:<span th:text="${facility.fname}"></span></p>
            </div>
          </div>
          
          
          
          
          
         <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>项目地址</p>
            </div>
            <div class="weui-cell__ft" th:text="${items.iaddress}">武汉光谷</div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>项目简介</p>
              <div class="weui-cell__ft"></div>
            </div>
           
          </div>
          <div style="width:100%; height:auto;margin-left:20px" th:text="${items.idesc}">100</div>
         </section>
         
        <section th:each="house:${listHouseInfo}">
         
          <p>
            <img th:src="${house.hpic}"/>
          </p>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>户型名称</p>
            </div>
            <div class="weui-cell__ft" th:text="${house.designtype.dtype}"></div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>户型面积</p>
            </div>
            <div class="weui-cell__ft" th:text="${house.harea}">万盛黄金城市</div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>价格/每平米 </p>
            </div>
            <div class="weui-cell__ft" th:text="${house.eprice}">1000000</div>
          </div>
          
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>户型简介</p>
            </div>
            <div class="weui-cell__ft" ></div>
          </div> 
         <div style="width:100%; height:auto;margin-left:20px" th:text="${house.hdesc}">100</div>
        </section>
        
      </section>
    </article>
    
  			
    
  	
  	
  	</div>
  	 
       <br/>
      <br/>
  	<div class="weui-tabbar" style="position: fixed;">
        <a th:href="@{/WHeadInfoController/intoMainPage}" class="weui-tabbar__item weui-bar__item--on">
         <!--  <span class="weui-badge" style="position: absolute;top: -.4em;right: 1em;">8</span> -->
          <div class="weui-tabbar__icon">
            
            <img th:src="@{/demos/images/icon_nav_button.png}" />
          </div>
          <p class="weui-tabbar__label">首页</p>
        </a>
        
        
        
        
        
        
        <!--判断是否登陆  -->
        <a href="javascript:void(0)" class="weui-tabbar__item" th:if="${session.EmployeeInfo!=null}"> 
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_msg.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">菜单</p>
        </a>
        
        <a th:href="@{/WBizController/loginDemo}" class="weui-tabbar__item" th:if="${session.EmployeeInfo==null}"> 
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_msg.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">菜单</p>
        </a>

		<!--判断是否登陆  -->
        <a th:href="@{/selectAllCustomers}" class="weui-tabbar__item" th:if="${session.EmployeeInfo!=null}">

          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_article.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">客户</p>
        </a>
         <a th:href="@{/WBizController/loginDemo}" class="weui-tabbar__item" th:if="${session.EmployeeInfo==null}">

          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_article.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">客户</p>
        </a>
        
        
        
        
        
        
        
        
        
        <a th:href="@{/WBizController/HeadPage}" class="weui-tabbar__item">
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_cell.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">我的</p>
        </a>
      </div>
  	</body>
  </html>
